package com.colourclash.fruitopia.events
{
	import flash.events.Event;
	
	/**
	 * ...
	 * @author Patrick
	 */
	public class InitialisedEvent extends Event
	{
		public static const VIEW_INITIALISED:String = "initialised";
		
		public var id:String;
		
		public function InitialisedEvent(type:String, id:String, bubbles:Boolean = false, cancelable:Boolean = false)
		{
			this.id = id;
			
			super(type, bubbles, cancelable);
		}
		
		public override function clone():Event
		{
			return new InitialisedEvent(type, id, bubbles, cancelable);
		}
		
		public override function toString():String
		{
			return formatToString("InitialisedEvent", "type", "id", "bubbles", "cancelable", "eventPhase");
		}
	
	}

}